package edu.sctu.zhoudie.mouth201505.day20150524.TextTwo;


/**
 * Created by user08 on 2015/5/24.
 */
public class TextData {

    public Teacher[] getTeacher() {

        Teacher[] teacher = new Teacher[3];

        Teacher teacher1 = new Teacher();
        teacher1.number = 101006;
        teacher1.name = "张老师";
        teacher1.sex = "man";
        teacher1.profession = "教授";
        teacher1.lesson = "大学计算机";

        Student[] students1 = new Student[3];

        Student stu1 = new Student();
        stu1.number = 102;
        stu1.name = "张希";
        stu1.age = 18;
        stu1.grade = 59;
        stu1.address = "成都";
        stu1.course = new String[]{"语文", "数学"};
        students1[0] = stu1;

        Student stu2 = new Student();
        stu2.number = 105;
        stu2.name = "小红";
        stu2.age = 19;
        stu2.grade = 79;
        stu2.address = "雅安";
        stu2.course = new String[]{"语文", "数学", "英语"};
        students1[1] = stu2;

        Student stu3 = new Student();
        stu3.number = 103;
        stu3.name = "小蓝";
        stu3.age = 17;
        stu3.grade = 68;
        stu3.address = "雅安";
        stu3.course = new String[]{"英语", "语文"};
        students1[2] = stu3;
        teacher1.student = students1;


        Teacher teacher2 = new Teacher();
        teacher2.number = 202006;
        teacher2.name = "张老师";
        teacher2.sex = "man";
        teacher2.profession = "教授";
        teacher2.lesson = "大学计算机";

        Student[] students2 = new Student[3];

        Student stu4 = new Student();
        stu4.number = 202;
        stu4.name = "张希";
        stu4.age = 28;
        stu4.grade = 59;
        stu4.address = "成都";
        stu4.course = new String[]{"语文", "数学"};
        students2[0] = stu4;

        Student stu5 = new Student();
        stu5.number = 205;
        stu5.name = "小红";
        stu5.age = 29;
        stu5.grade = 79;
        stu5.address = "雅安";
        stu5.course = new String[]{"语文", "数学", "英语"};
        students2[1] = stu5;

        Student stu6 = new Student();
        stu6.number = 203;
        stu6.name = "小蓝";
        stu6.age = 27;
        stu6.grade = 68;
        stu6.address = "雅安";
        stu6.course = new String[]{"英语", "语文"};
        students2[2] = stu6;

        teacher2.student = students2;


        Teacher teacher3 = new Teacher();
        teacher3.number = 101006;
        teacher3.name = "张老师";
        teacher3.sex = "man";
        teacher3.profession = "教授";
        teacher3.lesson = "大学计算机";

        Student[] students3 = new Student[3];

        Student stu7 = new Student();
        stu7.number = 102;
        stu7.name = "张希";
        stu7.age = 18;
        stu7.grade = 59;
        stu7.address = "成都";
        stu7.course = new String[]{"语文", "数学"};
        students3[0] = stu7;

        Student stu8 = new Student();
        stu8.number = 105;
        stu8.name = "小红";
        stu8.age = 19;
        stu8.grade = 79;
        stu8.address = "雅安";
        stu8.course = new String[]{"语文", "数学", "英语"};
        students3[1] = stu8;

        Student stu9 = new Student();
        stu9.number = 103;
        stu9.name = "小蓝";
        stu9.age = 17;
        stu9.grade = 68;
        stu9.address = "雅安";
        stu9.course = new String[]{"英语", "语文"};
        students3[2] = stu9;
        teacher3.student = students3;

        teacher = new Teacher[]{teacher1, teacher2, teacher3};
        return teacher;
    }

}
